package com.visionblue.business.ship.print

import java.nio.charset.Charset

/**
 * @author: xlh
 * @date: 2020-08-03 11:12 AM
 * @desc:
 */
fun String.toGBKHex(): Array<Byte> {
    return toByteArray(Charset.forName("GBK")).toTypedArray()
}